package com.hushan.elevator.vo;

import lombok.Data;

@Data
public class HttpDeviceEvent {
    int event = -1;
    String eventid = "";
    int motostatus = -1;
    int personcount = -1;
    int dooropen = -1;
    String devid = "";
    long timestamp = -1;
    public Elevstatus elevstatus;
    public AcInfo acinfo;
}

@Data
class Elevstatus{
    int levelingstatus = -1;
    int speed = -1;
    int press = -1;
    int elevnum = -1;
    String elevname = "";
    int elevactpos = -1;
}
@Data
class AcInfo{
    int acelevtimes = -1;
    int acopentimes = -1;
    int acmile = -1;
    int actime = -1;
}